package com.hsylient.spring.controller;

import com.hsylient.spring.entity.User;
import com.hsylient.spring.service.UserService;

public class UserController {

    private UserService userService;

    public UserController(UserService userService) {
        this.userService = userService;
    }

    public User getUserInfo() {
        return userService.getUserInfo();
    }
}
